\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager}{\section{com.\-utn.\-searchengine.\-Document\-Manager \-Class \-Reference}
\label{classcom_1_1utn_1_1searchengine_1_1_document_manager}\index{com.\-utn.\-searchengine.\-Document\-Manager@{com.\-utn.\-searchengine.\-Document\-Manager}}
}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_a09fe544e27b965fcf796fe23c62bac63}{get\-Document\-Module} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
boolean \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_a482dbc878f08c89dc82d8b17d4ba689f}{set\-Document\-Module} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
void \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_a8295975e2a38a2efbd526921af105b79}{add\-Document} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
int \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_a416e11c09839b8f261bdb3e6b1036c89}{documents\-Size} ()
\item 
\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_aa15e5b18fe4c94870484d03fbcabe247}{\-Document\-Manager} ()
\item 
\-String \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document_manager_a98b4f2a2eca071ee2be5ef81c2d76098}{to\-String} ()
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-This class is an auxiliar to manage all the basic info about the documents. \begin{DoxyAuthor}{\-Author}
altamirano,peker,liberal 
\end{DoxyAuthor}


\-Definition at line 13 of file \-Document\-Manager.\-java.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_aa15e5b18fe4c94870484d03fbcabe247}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!\-Document\-Manager@{\-Document\-Manager}}
\index{\-Document\-Manager@{\-Document\-Manager}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{\-Document\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf com.\-utn.\-searchengine.\-Document\-Manager.\-Document\-Manager} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_aa15e5b18fe4c94870484d03fbcabe247}
\-Recupera de la base de datos la cantidad de documentos 

\-Definition at line 53 of file \-Document\-Manager.\-java.



\-References dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Active\-D\-A\-O\-Factory(), dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Document\-D\-A\-O(), and dataaccess.\-dao.\-Document\-D\-A\-O.\-obtener\-Cantidad\-Document().



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_a8295975e2a38a2efbd526921af105b79}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!add\-Document@{add\-Document}}
\index{add\-Document@{add\-Document}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{add\-Document}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-utn.\-searchengine.\-Document\-Manager.\-add\-Document} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_a8295975e2a38a2efbd526921af105b79}
\-Agrega un documento a la base de datos 
\begin{DoxyParams}{\-Parameters}
{\em document} & \\
\hline
\end{DoxyParams}


\-Definition at line 36 of file \-Document\-Manager.\-java.



\-References dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Active\-D\-A\-O\-Factory(), dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Document\-D\-A\-O(), and dataaccess.\-dao.\-Document\-D\-A\-O.\-grabar\-Web\-Site().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-add\-Document().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_a416e11c09839b8f261bdb3e6b1036c89}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!documents\-Size@{documents\-Size}}
\index{documents\-Size@{documents\-Size}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{documents\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf com.\-utn.\-searchengine.\-Document\-Manager.\-documents\-Size} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_a416e11c09839b8f261bdb3e6b1036c89}
devuelve la cantidad de documento de la base de datos \begin{DoxyReturn}{\-Returns}
el size que es la cantidad de documentos 
\end{DoxyReturn}


\-Definition at line 46 of file \-Document\-Manager.\-java.



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Total\-Number\-Of\-Documents().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_a09fe544e27b965fcf796fe23c62bac63}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!get\-Document\-Module@{get\-Document\-Module}}
\index{get\-Document\-Module@{get\-Document\-Module}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{get\-Document\-Module}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf com.\-utn.\-searchengine.\-Document\-Manager.\-get\-Document\-Module} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_a09fe544e27b965fcf796fe23c62bac63}
\-Recupera el modulo de un documento de la base de datos 
\begin{DoxyParams}{\-Parameters}
{\em document} & \-A document \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
the module of the documen. \-If the document is not present on the document\-Manager or its module hasn't been set, it returns -\/1 
\end{DoxyReturn}


\-Definition at line 23 of file \-Document\-Manager.\-java.



\-References dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Active\-D\-A\-O\-Factory(), dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Document\-D\-A\-O(), com.\-utn.\-searchengine.\-Document.\-get\-Module(), and dataaccess.\-dao.\-Document\-D\-A\-O.\-obtener\-Document().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_a482dbc878f08c89dc82d8b17d4ba689f}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!set\-Document\-Module@{set\-Document\-Module}}
\index{set\-Document\-Module@{set\-Document\-Module}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{set\-Document\-Module}]{\setlength{\rightskip}{0pt plus 5cm}boolean {\bf com.\-utn.\-searchengine.\-Document\-Manager.\-set\-Document\-Module} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_a482dbc878f08c89dc82d8b17d4ba689f}


\-Definition at line 28 of file \-Document\-Manager.\-java.



\-References dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Active\-D\-A\-O\-Factory(), dataaccess.\-factories.\-D\-A\-O\-Factory.\-get\-Document\-D\-A\-O(), and dataaccess.\-dao.\-Document\-D\-A\-O.\-grabar\-Web\-Site().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_document_manager_a98b4f2a2eca071ee2be5ef81c2d76098}{\index{com\-::utn\-::searchengine\-::\-Document\-Manager@{com\-::utn\-::searchengine\-::\-Document\-Manager}!to\-String@{to\-String}}
\index{to\-String@{to\-String}!com::utn::searchengine::DocumentManager@{com\-::utn\-::searchengine\-::\-Document\-Manager}}
\subsubsection[{to\-String}]{\setlength{\rightskip}{0pt plus 5cm}\-String {\bf com.\-utn.\-searchengine.\-Document\-Manager.\-to\-String} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_document_manager_a98b4f2a2eca071ee2be5ef81c2d76098}


\-Definition at line 58 of file \-Document\-Manager.\-java.



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/main/java/com/utn/searchengine/\hyperlink{_document_manager_8java}{\-Document\-Manager.\-java}\end{DoxyCompactItemize}
